package com.store.bookstore_backend.mapper;

import com.store.bookstore_backend.domain.Book;

import java.util.List;

/**
 * @author 14111
 * @description 针对表【book(图书表)】的数据库操作Mapper
 * @createDate 2024-12-20 11:26:04
 * @Entity com.store.bookstore_backend.domain.Book
 */

public interface BookMapper {
    List<Book> selectAllBooks();

    Book selectBookById(int id);

    List<Book> selectBookByCategory(int category_id);

    List<Book> selectBookByName(String query);
}




